
function query_applyAudit() {
	
	var parm = $('#queryApplyManagerForm').serialize();
	var url = create_url('applyManager-query');
	
	$.ajax({type:'POST', url:url, data:parm,
		success: function (result) {
			$('#page_content').html(result);
			swiperNested1.reInit();			// 刷新样式计算
		},
		error:function (e) {
			
		}
	});
}

function audit_applyAudit(code) {
	if (!confirm("确定要审核该条信息吗？")) {
		return false;
	}
	var parm = {'code':code};
	var url = create_url('applyManager-audit');
	$.ajax({type:'POST', url:url, data:parm, 
		success: function (result) {
			if ('success' == result) {
				alert('审核成功');
				sys_load_handl('apply');
			} else if ('notAuditPriv' == result) 
				alert('没有审核权限');
			else if ('alreadyAudit' == result)
				alert('已经被审核通过了');
			else if ('preAuditNo' == result)
				alert('上一级未审核');
			else
				alert('审核失败');
		},
		error:function (e) {
			alert('服务器错误');
		}
	});
}